import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    customer:null,
    currentPage:0,
  },
  mutations: {
    setLoginCustomer(state,payload){
      state.customer = payload
    },
    setCurrentPage(state,pageIndex){
      state.currentPage = pageIndex
    }
  },
  actions: {
  },
  modules: {
  }
})
